package com.zuofei.xmpp;

import android.app.Application;
import android.content.Context;

import com.elvishew.xlog.LogLevel;
import com.elvishew.xlog.XLog;

public class XmppApplication extends Application {
    private static Context mContext;

    @Override
    public void onCreate() {
        super.onCreate();
        XLog.init(BuildConfig.DEBUG ? LogLevel.ALL:LogLevel.NONE);
        mContext = getApplicationContext();
    }

    public static Context getInstance() {
        return mContext;
    }
}
